package com.ruoyi.web.controller.vantController.financialSupportController;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.service.vantservice.financialSupport.ApiCooperativeBrandService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * Created by 惠普 on 2021/1/9 17:23
 */
@RestController
@RequestMapping("/api/cooperative")
public class ApiCooperativeBrandController {
    @Resource
    private ApiCooperativeBrandService apiCooperativeBrandService;

    /**
     * 查询全部的合作伙伴
     * @return
     */
    @PostMapping("/CooperativeBrandByNull")
    public AjaxResult CooperativeBrandByNull(){
        return AjaxResult.success(apiCooperativeBrandService.getCooperativeByState());
    }


}
